xen.git
20 years ago1) Make more functions in io.c static
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:32:39 +0000 (09:32 +0000)]
1) Make more functions in io.c static
2) Fix memory leak in domain free
3) Fix error path in read (reported by aq)
4) Move reading of buffer limit to tty reconnect so that changes in
limit take affect more quickly.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20 years agoManula merge.
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:06:10 +0000 (09:06 +0000)]
Manula merge.

20 years agoFix typo in Linux header file. Totally harmless -- the code
kaf24@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 09:05:46 +0000 (09:05 +0000)]
Fix typo in Linux header file. Totally harmless -- the code
was never actually compiled in to a XenLinux kernel.

20 years agoModify default Linux 2.6 config files to build for PentiumPro instead of Pentium4...
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 09:05:29 +0000 (09:05 +0000)]
Modify default Linux 2.6 config files to build for PentiumPro instead of Pentium4. No idea how that ended up being the default.

Signed-off-by: ian@xensource.com
20 years agoFix automatic toggling of PAE in Linux config files
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 08:52:28 +0000 (08:52 +0000)]
Fix automatic toggling of PAE in Linux config files
Signed-off-by: ian@xensource.com
20 years agoSince we use configs from dist/install/boot in preference to the default configs...
iap10@freefall.cl.cam.ac.uk [Wed, 3 Aug 2005 08:25:58 +0000 (08:25 +0000)]
Since we use configs from dist/install/boot in preference to the default configs, update the PAE auto-switcher to work with these too.

Signed-off-by: ian@xensource.com
20 years agoDon't enable PAE by default just yet.
smh22@firebug.cl.cam.ac.uk [Wed, 3 Aug 2005 06:46:53 +0000 (06:46 +0000)]
Don't enable PAE by default just yet.

20 years agofix netdriver grant table option back to n by default
vh249@arcadians.cl.cam.ac.uk [Wed, 3 Aug 2005 00:07:48 +0000 (00:07 +0000)]
fix netdriver grant table option back to n by default

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 23:13:50 +0000 (23:13 +0000)]
merge?

20 years agoFix migration for SMP guests with 1 vcpu.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 23:13:13 +0000 (23:13 +0000)]
Fix migration for SMP guests with 1 vcpu.
Free/setup timer irq on suspend/restore.
Only tested to localhost.  Also add initial code for >1 vcpu guests.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoupdate x86_64 config files for grant table in netdriver
vh249@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 22:57:51 +0000 (22:57 +0000)]
update x86_64 config files for grant table in netdriver

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoRemove USB front/back from 2.4 build, totally.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:32:48 +0000 (19:32 +0000)]
Remove USB front/back from 2.4 build, totally.

20 years agoUpdate xenstore python bindings for "Implement watching of nodes which don't exist."
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:19:16 +0000 (19:19 +0000)]
Update xenstore python bindings for "Implement watching of nodes which don't exist."
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix SMP save/restore for 1 vcpu by adding suspend/resume functions for SMP.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:08:28 +0000 (19:08 +0000)]
Fix SMP save/restore for 1 vcpu by adding suspend/resume functions for SMP.
We have to free_irq the irq vectors for the SMP ipi vectors.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix unbind_ipi_from_irq - evtchn_to_irq[evtchn] not irq_to_evtchn[evtchn].
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:06:10 +0000 (19:06 +0000)]
Fix unbind_ipi_from_irq - evtchn_to_irq[evtchn] not irq_to_evtchn[evtchn].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd prototype for bind_ipi_on_cpu_to_irq.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:05:00 +0000 (19:05 +0000)]
Add prototype for bind_ipi_on_cpu_to_irq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd prototype for balloon_init_watcher.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 19:04:13 +0000 (19:04 +0000)]
Add prototype for balloon_init_watcher.
Also cleanup balloon_init_watcher whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoImplement watching of nodes which don't exist.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 18:04:28 +0000 (18:04 +0000)]
Implement watching of nodes which don't exist.
Requires permission check every time event is generated.
Requires generalization of permissions: ask arbitrary number of
parents whether it's OK to tell about node (eg. watching
/dir/subdir/x when /dir is deleted: root permissions will now
determine whether we fire event).
Add test that we don't leak information on whether a file exists
or not.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix typo.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 18:04:00 +0000 (18:04 +0000)]
Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix up non-valgrind case to send stderr to file like valgrind case does.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:59:59 +0000 (17:59 +0000)]
Fix up non-valgrind case to send stderr to file like valgrind case does.
(Having trouble with signal delivery and valgrind, causing spurious test
timeouts)
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't abort on untranslatable errors: EINVAL and print warning
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:59:20 +0000 (17:59 +0000)]
Don't abort on untranslatable errors: EINVAL and print warning
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:13:11 +0000 (17:13 +0000)]
merge?

20 years agoFix checkpointing - add save/restore support to the xenbus driver.
cl349@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 17:12:36 +0000 (17:12 +0000)]
Fix checkpointing - add save/restore support to the xenbus driver.
- Add xenbus driver suspend/resume functions
- Change xenbus irq to not be shared
- Translate store mfn in suspend record to pfn and back
- Make tools re-introduce the domain to the store
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBetter XenLinux page fault debug output for PAE.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 16:11:31 +0000 (16:11 +0000)]
Better XenLinux page fault debug output for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFixes.
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 15:42:06 +0000 (15:42 +0000)]
Fixes.

20 years agoA few consoled tweaks. It's not worth building by default
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 14:51:06 +0000 (14:51 +0000)]
A few consoled tweaks. It's not worth building by default
right now as it isn;t actually used.

20 years agoRemove some binary files.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:37:37 +0000 (12:37 +0000)]
Remove some binary files.

20 years agoThis is the first patch to move the console code out of Xend and into a
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:18:47 +0000 (12:18 +0000)]
This is the first patch to move the console code out of Xend and into a
separate daemon.  In this patch I've included the daemon and a
front-end.  I've also have the console code removed from Xend locally
but I wanted to clarify a few things first before submitting that.

Here's how it works:

1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console
data should be (/console/<domid>/limit) to prevent DoS attacks

Using it is quite simple, just run consoled and use the xc_console
program to connect to the console.  It uses syslog for logging.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20 years agoThis is the first patch to move the console code out of Xend and into a
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 12:18:15 +0000 (12:18 +0000)]
This is the first patch to move the console code out of Xend and into a
separate daemon.  In this patch I've included the daemon and a
front-end.  I've also have the console code removed from Xend locally
but I wanted to clarify a few things first before submitting that.

Here's how it works:

1) Daemon sits on control channel (via xcs) waiting for console messages
2) Buffers all console data received
3) Publishes the location of a tty that can be used for reading in
/console/<domid>/tty
4) Reads a value from the store to determine what the limit of console
data should be (/console/<domid>/limit) to prevent DoS attacks

Using it is quite simple, just run consoled and use the xc_console
program to connect to the console.  It uses syslog for logging.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20 years agoManual merge.
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:35:45 +0000 (11:35 +0000)]
Manual merge.

20 years agoDisable build of pygrub for now - does not build with e2fsprogs-1.35
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:34:38 +0000 (11:34 +0000)]
Disable build of pygrub for now - does not build with e2fsprogs-1.35

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix typo in pygrub code
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:27:58 +0000 (11:27 +0000)]
Fix typo in pygrub code

20 years agoThe attached patch converts the balloon driver and xend to use
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:21:11 +0000 (11:21 +0000)]
The attached patch converts the balloon driver and xend to use
xenstore instead of control messages.

Note: Because there is no way to set a watch on a non-existent key,
this patch includes a workaround to account for the fact that dom0's
store keys are not initialized by the tools before it boots.

Signed-off-by: Dan Smith <danms@us.ibm.com>
20 years ago> to "CONFIG_PAGING_LEVELS >= 3", maybe I forgot to include some
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:20:12 +0000 (11:20 +0000)]
> to "CONFIG_PAGING_LEVELS >= 3", maybe I forgot to include some
> into the patch ...

Yep, I did, shadow_public.c bits are missing, sorry for trouble.

  Gerd

20 years agoMissing ia64_stubs file for libxc.
kaf24@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 11:08:47 +0000 (11:08 +0000)]
Missing ia64_stubs file for libxc.

20 years agoRemainder of ACM patch (hgrrrr).
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 10:15:17 +0000 (10:15 +0000)]
Remainder of ACM patch (hgrrrr).

Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoThe patches below clean-up sHype-related file names in the tools subtree
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:37:00 +0000 (09:37 +0000)]
The patches below clean-up sHype-related file names  in the tools subtree
and security policy-versioning and data structures in the xen subtree
(ACM):

 *  the very generic tools directory name "policy"  is changed to
    "security" and the included "policy_tool" to "secpol_tool"

 * the single constant POLICY_INTERFACE_VERSION is replaced
   by ACM_INTERFACE_VERSION; the security policy headers are
   versioned independently since the policy can be supplied
   at boot time instead of through the  hypervisor interface

Signed-off-by: Reiner Sailer <sailer@watson.ibm.com>
Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoThe attached patch adds the support that was only stubbed in to be able
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:31:47 +0000 (09:31 +0000)]
The attached patch adds the support that was only stubbed in to be able
to support having reading the boot loader config when you're using a
whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a
partition.

This reads the partition table in the MBR to find the active partition
and then passes that offset down into the filesystem reading code.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
20 years ago* support proper scsi disk name
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:29:56 +0000 (09:29 +0000)]
* support proper scsi disk name
* xvd now has an official lanana assigned major, use it

Signed-off-by: Jeremy Katz <katzj@redhat.com>
20 years agoRevert unintended enabling of grant tables for netback/netfront
smh22@firebug.cl.cam.ac.uk [Tue, 2 Aug 2005 09:26:30 +0000 (09:26 +0000)]
Revert unintended enabling of grant tables for netback/netfront

20 years agocorrect wrong variables pass to the set_pte_at macro.
vh249@arcadians.cl.cam.ac.uk [Mon, 1 Aug 2005 16:00:17 +0000 (16:00 +0000)]
correct wrong variables pass to the set_pte_at macro.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoManual merge.
smh22@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 10:48:24 +0000 (10:48 +0000)]
Manual merge.

20 years agoMinor clean ups of time.c and partial build fixes for 2.4
smh22@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 10:45:07 +0000 (10:45 +0000)]
Minor clean ups of time.c and partial build fixes for 2.4

20 years agoPDB: convert ptrace.c and traps.c changes to local patches
ach61@arcadians.cl.cam.ac.uk [Mon, 1 Aug 2005 10:43:16 +0000 (10:43 +0000)]
PDB: convert ptrace.c and traps.c changes to local patches

20 years agoThis patch adds two macros for construction of the
kaf24@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 09:26:51 +0000 (09:26 +0000)]
This patch adds two macros for construction of the
frame_and_sectors field in blkif messages, to eliminate the
"magic shifts" in the blkif code.

It also increases the number of bits representing the sector
number within a page, from 3 to 5, to allow page sizes up to
16K (needed for IA64).

Tested to still work on x86.

Signed-off-by: Matthew Chapman <matthewc@hp.com>
20 years agoWhile merging my development tree with the latest hg tree I noticed that
kaf24@firebug.cl.cam.ac.uk [Mon, 1 Aug 2005 09:16:25 +0000 (09:16 +0000)]
While merging my development tree with the latest hg tree I noticed that
VMX support was broken. When you boot an unmodified Linux kernel it gets
stuck in the "Calibrating delay" loop.  The reason for this is that the
vmx code is repeatedly delivering timer interrupts.

Correcting the MILLISECS() and friends macros to return s_time_t instead
of ULL fixes this problem. The other changes are just to get rid of
redundant code and variables.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoPDB: roll out changes to ptrace.c and traps.c
ach61@arcadians.cl.cam.ac.uk [Sun, 31 Jul 2005 21:45:52 +0000 (21:45 +0000)]
PDB: roll out changes to ptrace.c and traps.c

20 years agodom_mem_ops address_bitsd fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 11:21:39 +0000 (11:21 +0000)]
dom_mem_ops address_bitsd fix.

20 years agox86_32 build fix.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:40:39 +0000 (10:40 +0000)]
x86_32 build fix.

20 years agoThis patch renames balloon command to "set-mem", so instead of "xm
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:37:30 +0000 (10:37 +0000)]
This patch renames balloon command to "set-mem", so instead of "xm
balloon", we will use "xm set-mem" (as suggested by TODO list)

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agoThis patch does 2 jobs:
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:36:53 +0000 (10:36 +0000)]
This patch does 2 jobs:

- Enforce the number of CPUs dom0 will take. See the new variable
"dom0-cpus" in xend-config.sxp (you will want to set this variable to
1 on SMP systems)

- Balloon out dom0 memory when creating domU, if there is not enough
free memory. The lowest level we will balloon out is configured via
the new variable "dom0-min-mem" in xend-config.sxp

I still have a doubt: where to put the code to enforce dom0-cpus. At
the moment I put it into
python/xen/xend/server/SrvDaemon.py, and hopefully that is resonable
enough. Any comment?

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
20 years agoPatch for 64-bit VMX guest destroy
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:36:11 +0000 (10:36 +0000)]
Patch for 64-bit VMX guest destroy

64-bit VMX guest can't be destroyed without this patch, as guest page's
reference count problem.
This patch made two point of reference count correct:
1. In invlpg, the old page count need put.
2. There is a specail case for fl1's shadow reference count.=20
=20

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoHere is our latest patch to enable the Xen tools to
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:34:45 +0000 (10:34 +0000)]
Here is our latest patch to enable the Xen tools to
build and work with IA64 Xen.
Signed-off-by: Matt Chapman <matthewc@hp.com>
Acked-by: Dan Magenheimer <dan.magenheimer@hp.com>
20 years agoAttached patch adds a DMA zone to xen, also modifies xen_contig_memory()
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:31:22 +0000 (10:31 +0000)]
Attached patch adds a DMA zone to xen, also modifies xen_contig_memory()
to ask for DMA pages.
Signed-off-by: srparish@us.ibm.com
20 years agoThis patch updates the CPU field in xm list for multi-vcpu domains.
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:27:12 +0000 (10:27 +0000)]
This patch updates the CPU field in xm list for multi-vcpu domains.
When a dom runs on multiple physical cpus, the CPU field doesn't have
much meaning.  The suggested fix was to replace the value with '-'.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
20 years ago... for dom0 if we know we'll need it. This is the xen
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:24:41 +0000 (10:24 +0000)]
... for dom0 if we know we'll need it.  This is the xen
counterpart to the previous xenlinux patch which adds this
info to the kernel.  Also adds some printk's.

20 years ago... so it builds again and also add a note to the xen elf header
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:24:06 +0000 (10:24 +0000)]
... so it builds again and also add a note to the xen elf header
that this kernel should be booted in shadow-translated mode.

20 years agoReally just basic preparation: switch over PAE builds to the new
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:23:07 +0000 (10:23 +0000)]
Really just basic preparation: switch over PAE builds to the new
shadow code, drop old dummy functions, add (fewer) new ones.

20 years agofix x86_64 domain0 /dev/mem issue
kaf24@firebug.cl.cam.ac.uk [Fri, 29 Jul 2005 10:22:03 +0000 (10:22 +0000)]
fix x86_64 domain0 /dev/mem issue
x86_64 miss the define of ARCH_HAS_DEV_MEM, that causes
/drivers/char/mem.c to not show low 1M memory correctly.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoPDB: add some additional files
ach61@arcadians.cl.cam.ac.uk [Thu, 28 Jul 2005 21:32:13 +0000 (21:32 +0000)]
PDB: add some additional files

20 years agoPDB: process targets
ach61@arcadians.cl.cam.ac.uk [Thu, 28 Jul 2005 21:28:23 +0000 (21:28 +0000)]
PDB: process targets

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 12:34:45 +0000 (12:34 +0000)]
merge?

20 years agoDon't unbind port when event channel binding fails.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 12:33:53 +0000 (12:33 +0000)]
Don't unbind port when event channel binding fails.
This happens when xend tries to introduce the same domain twice.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSimplify code by acking watch as soon as we read it.
cl349@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 12:29:23 +0000 (12:29 +0000)]
Simplify code by acking watch as soon as we read it.
Since watches no longer block anyone, this doesn't change semantics.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSimplify code by making in and out pointers internal to xenbus_xs.c
cl349@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 12:25:13 +0000 (12:25 +0000)]
Simplify code by making in and out pointers internal to xenbus_xs.c
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoNicer platform timer string (include clock rate in mhz).
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 10:20:08 +0000 (10:20 +0000)]
Nicer platform timer string (include clock rate in mhz).
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix irq.c warning, from aq.
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 09:37:53 +0000 (09:37 +0000)]
Fix irq.c warning, from aq.

20 years agoFix gnttab bug in blkfront.
kaf24@firebug.cl.cam.ac.uk [Thu, 28 Jul 2005 09:10:05 +0000 (09:10 +0000)]
Fix gnttab bug in blkfront.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoSlightly better time debugging support in Xen.
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 23:15:15 +0000 (23:15 +0000)]
Slightly better time debugging support in Xen.

20 years agoGet rid of internet_copy.jpg once more.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:41:49 +0000 (18:41 +0000)]
Get rid of internet_copy.jpg once more.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't ignore exceptions here - the possible RuntimeError is handled already.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:40:32 +0000 (18:40 +0000)]
Don't ignore exceptions here - the possible RuntimeError is handled already.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoIntroduce dom0 to the store.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:31:18 +0000 (18:31 +0000)]
Introduce dom0 to the store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoHandle introduce_domain failing when the domain is already introduced.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 18:31:03 +0000 (18:31 +0000)]
Handle introduce_domain failing when the domain is already introduced.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways pass around the store machine frame number instead of the linear address.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:17:09 +0000 (17:17 +0000)]
Always pass around the store machine frame number instead of the linear address.
Also cleanup IOCTL_PRIVCMD_INITDOMAIN_STORE.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd xc_init_store python binding.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:06:02 +0000 (17:06 +0000)]
Add xc_init_store python binding.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix read of integers from database on event channel restore.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:04:47 +0000 (17:04 +0000)]
Fix read of integers from database on event channel restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake XENSTORED_DEBUG create a xenstored trace logfile.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:03:00 +0000 (17:03 +0000)]
Make XENSTORED_DEBUG create a xenstored trace logfile.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 17:00:24 +0000 (17:00 +0000)]
Move SIF_BLK_BE_DOMAIN and SIF_NET_BE_DOMAIN definitions to where they are used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:57:37 +0000 (16:57 +0000)]
merge?

20 years agoDon't auto-add domains we don't know about.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:57:01 +0000 (16:57 +0000)]
Don't auto-add domains we don't know about.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd IBM Cyclone support to Xen.
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 16:18:02 +0000 (16:18 +0000)]
Add IBM Cyclone support to Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd HPET support to Xen. It is quicker to access and more
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 15:32:44 +0000 (15:32 +0000)]
Add HPET support to Xen. It is quicker to access and more
precise than the PIT.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoOn opt_nosmp, also force num_cores to 1. Do this in setup.c
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 11:20:47 +0000 (11:20 +0000)]
On opt_nosmp, also force num_cores to 1. Do this in setup.c
instead of cpu/common.c. This is where opt_nosmp is defined,
and it reduces diff of cpu/ subdir against native Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoKill a bad assertion.
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 11:02:30 +0000 (11:02 +0000)]
Kill a bad assertion.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
20 years agoMerge.
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 10:54:39 +0000 (10:54 +0000)]
Merge.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
20 years agoMake sure that opt_nosmp also disables hyperthreading. This stops us
sos22@douglas.cl.cam.ac.uk [Wed, 27 Jul 2005 10:52:29 +0000 (10:52 +0000)]
Make sure that opt_nosmp also disables hyperthreading.  This stops us
from trying to create domains on non-existent threads, which would
lead to a rather nasty crash.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
20 years agoRename file with space in name.
cl349@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 09:56:31 +0000 (09:56 +0000)]
Rename file with space in name.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
--HG--
rename : tools/sv/images/internet copy.jpg => tools/sv/images/internet_copy.jpg

20 years agoFix memory reservation in XenLinux.
kaf24@firebug.cl.cam.ac.uk [Wed, 27 Jul 2005 09:24:51 +0000 (09:24 +0000)]
Fix memory reservation in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFrob the Linux-2.6 configs to enable PAE (HIGHMEM_64G) if XEN_TARGET_X86_PAE=y
iap10@freefall.cl.cam.ac.uk [Wed, 27 Jul 2005 00:27:36 +0000 (00:27 +0000)]
Frob the Linux-2.6 configs to enable PAE (HIGHMEM_64G) if XEN_TARGET_X86_PAE=y

Signed-off-by: ian@xensource.com
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 18:41:39 +0000 (18:41 +0000)]
merge?

20 years agoClean up xenbus code not to use priorities.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:38:33 +0000 (17:38 +0000)]
Clean up xenbus code not to use priorities.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix case where watch callback unregisters itself: do not try to ack it
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:27:26 +0000 (17:27 +0000)]
Fix case where watch callback unregisters itself: do not try to ack it
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoImplement xenbus_dev_error() and xenbus_dev_ok() functions
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:25:57 +0000 (17:25 +0000)]
Implement xenbus_dev_error() and xenbus_dev_ok() functions
for better error reporting using the store.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoScrub initial xenstore page, free xendev structure.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:24:22 +0000 (17:24 +0000)]
Scrub initial xenstore page, free xendev structure.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix locking: probe can be called from several places, so ensure
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:22:38 +0000 (17:22 +0000)]
Fix locking: probe can be called from several places, so ensure
we lock for it.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix bus watch code, and clean up a little.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:19:38 +0000 (17:19 +0000)]
Fix bus watch code, and clean up a little.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoNote about when device_find is fixed
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:18:55 +0000 (17:18 +0000)]
Note about when device_find is fixed
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoModify to assume transactions
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:18:11 +0000 (17:18 +0000)]
Modify to assume transactions
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDo not use device_find: crashes for some reason
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:16:55 +0000 (17:16 +0000)]
Do not use device_find: crashes for some reason
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix missing argument rename in xenbus_exists.
cl349@firebug.cl.cam.ac.uk [Tue, 26 Jul 2005 17:15:53 +0000 (17:15 +0000)]
Fix missing argument rename in xenbus_exists.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>